
import ajax from "@/utils/ajax";


// 为你推荐’和分类列表的数据
export const reqRecommend = (timet)=> ajax.get(`/wy/item/cateList.json?__timestamp=${timet}&categoryId=`)
// 根据分类ID获取分类的列表
export const reqCategoryList = (timet,id)=> ajax.get(`/wy/item/cateList.json?__timestamp=${timet}&categoryId=${id}`)

// 获取某个分类下的商品列表
export const reqCommodity =(timet,navId,subId) =>ajax.get(`/wy/item/list.json?__timestamp=${timet}&categoryType=0&subCategoryId=${subId}&categoryId=${navId}`)